package com.ruoyi.jxgy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 jxgy_student
 * 
 * @author hujiale
 * @date 2023-04-26
 */
public class JxgyStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    private Long stuId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 学生年龄 */
    @Excel(name = "学生年龄")
    private String stuAge;

    /** 性别 */
    @Excel(name = "性别")
    private String stuSex;

    /** 教师id */
    @Excel(name = "教师id")
    private Long tchId;

    /** 班级id */
    @Excel(name = "班级id")
    private Long clsId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setStuAge(String stuAge) 
    {
        this.stuAge = stuAge;
    }

    public String getStuAge() 
    {
        return stuAge;
    }
    public void setStuSex(String stuSex) 
    {
        this.stuSex = stuSex;
    }

    public String getStuSex() 
    {
        return stuSex;
    }
    public void setTchId(Long tchId) 
    {
        this.tchId = tchId;
    }

    public Long getTchId() 
    {
        return tchId;
    }
    public void setClsId(Long clsId) 
    {
        this.clsId = clsId;
    }

    public Long getClsId() 
    {
        return clsId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stuId", getStuId())
            .append("stuName", getStuName())
            .append("stuAge", getStuAge())
            .append("stuSex", getStuSex())
            .append("tchId", getTchId())
            .append("clsId", getClsId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
